package hpu.e4_demo.service;

import hpu.e4_demo.common.Result;
import hpu.e4_demo.entity.TRole;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 角色类型表 服务类
 * </p>
 *
 * @author FFF
 * @since 2025-06-21
 */
public interface ITRoleService extends IService<TRole> {



    Result<String> addRole(TRole tRole);

    Result<String> modifyRole(Integer id,String  role);

    Result<String> deleteRole(Integer id);

    Result<List<TRole>> getRole(Integer currentPage, Integer size);
}
